package com.rc.saas.tenant.model.enterprise;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.rc.saas.tenant.base.BaseModel;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

public class RcEnterpriseLevelSetting extends BaseModel {
    @ExcelIgnore
    private String enterpriseLevel;
    @ExcelProperty(value = "等级名称",index = 0)
    private String levelName;

    @ExcelProperty(value = "企业标识图标",index = 1)
    private String levelLogo;

    @ExcelProperty(value = "充值金额(元)",index = 2)
    private BigDecimal allEnterpriseAccountTarget;

    @ExcelProperty(value = "授信额(元)",index = 3)
    private BigDecimal creditAmountTarget;
    @ExcelIgnore
    private Integer sort;
    @ExcelIgnore
    private String remark;
    @ExcelIgnore
    private String status;
    @ExcelIgnore
    private String createdBy;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ExcelProperty(value = "创建时间",index = 4)
    private Date createdTime;
    @ExcelIgnore
    private String lastUpdatedBy;
    @ExcelIgnore
    private Date lastUpdatedTime;

    private BigDecimal rechargeAmount;

    private BigDecimal discountAmount;

    public String getEnterpriseLevel() {
        return enterpriseLevel;
    }

    public void setEnterpriseLevel(String enterpriseLevel) {
        this.enterpriseLevel = enterpriseLevel;
    }

    public String getLevelName() {
        return levelName;
    }

    public void setLevelName(String levelName) {
        this.levelName = levelName;
    }

    public String getLevelLogo() {
        return levelLogo;
    }

    public void setLevelLogo(String levelLogo) {
        this.levelLogo = levelLogo;
    }

    public BigDecimal getAllEnterpriseAccountTarget() {
        return allEnterpriseAccountTarget;
    }

    public void setAllEnterpriseAccountTarget(BigDecimal allEnterpriseAccountTarget) {
        this.allEnterpriseAccountTarget = allEnterpriseAccountTarget;
    }

    public BigDecimal getCreditAmountTarget() {
        return creditAmountTarget;
    }

    public void setCreditAmountTarget(BigDecimal creditAmountTarget) {
        this.creditAmountTarget = creditAmountTarget;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(String createdBy) {
        this.createdBy = createdBy;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public String getLastUpdatedBy() {
        return lastUpdatedBy;
    }

    public void setLastUpdatedBy(String lastUpdatedBy) {
        this.lastUpdatedBy = lastUpdatedBy;
    }

    public Date getLastUpdatedTime() {
        return lastUpdatedTime;
    }

    public void setLastUpdatedTime(Date lastUpdatedTime) {
        this.lastUpdatedTime = lastUpdatedTime;
    }

    public BigDecimal getRechargeAmount() {
        return rechargeAmount;
    }

    public void setRechargeAmount(BigDecimal rechargeAmount) {
        this.rechargeAmount = rechargeAmount;
    }

    public BigDecimal getDiscountAmount() {
        return discountAmount;
    }

    public void setDiscountAmount(BigDecimal discountAmount) {
        this.discountAmount = discountAmount;
    }
}